<template>
  <div class="img_text flex_c">
    <img v-lazy="iconItem.picUrl">
    <span>{{ iconItem.text }}</span>
  </div>
</template>

<script setup lang='ts'>
import { ref } from 'vue';
import type { KingKongModel } from '@/api/home';
const props = defineProps<{
  iconItem: KingKongModel
}>()

</script>

<style scoped lang="less">
.img_text {
  width: 20%;
  align-items: center;

  img {
    width: 1.47rem;
    height: 1.47rem;
    margin-bottom: 5px;
  }

  span {
    font-size: 12px;
  }
}
</style>